home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / hardware-part1 / 3618 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.2 KB

  1. Path: news.primenet.com!pdtaylor
  2. From: pdtaylor@primenet.com (Daniel L. Taylor)
  3. Newsgroups: comp.sys.amiga.hardware
  4. Subject: Re: More than one SCSI adaptor on the SCSI bus?
  5. Date: 4 Feb 1996 19:10:03 -0700
  6. Organization: Primenet Services for the Internet
  7. Sender: root@primenet.com
  8. Message-ID: <4f3otr$bpv@nnrp1.news.primenet.com>
  9. References: <DLzt6x.Mpt@uns.bris.ac.uk> <4ethrt$61f@tbd120.tbd.ford.com>
  10. X-Posted-By: pdtaylor@usr1.primenet.com
  11.  
  12. Chris \"Big-Kahuna\" Rampson <crampson@ford.com> writes:
  13.  
  14. >ph3037@irix.bris.ac.uk (C. Dew) wrote:
  15. >>
  16. >>I remember hearing a while ago that it was possible to put two or more scsi controllers on one
  17. >>scsi bus, so that scsi devices would be local to all machines connected.
  18.  
  19. >It is possible, but the problem becomes "contention" - Which is when 2
  20. >controllers try to control the same device at the same time.
  21.  
  22. No, contention is when two (or more) devices on the bus are attempting
  23. to gain control of the bus; this is handled with the priority arbitration
  24. scheme of SCSI (highest number wins). 
  25.  
  26. The biggest problem sharing devices when using personal-computer-
  27. class host adapters (and many workstation host adapters, too), is that
  28. most of them cannot be at any SCSI ID but 7, or at least the drivers
  29. don't allow it.  If you have more than one ID available on an adapter,
  30. then sharing CDROM drives is trivial, since they're read-only.  Tape
  31. drives are not hard, but require some courtesy not to write on or space
  32. someone else's tape.  Disks can be difficult if the directory information
  33. is cached, rather than kept up-to-date on the drive, but there should
  34. only be one system with write priviledges.  Each SCSI-II drive keeps
  35. track of the ID of the device that issued the Command Descriptor Block
  36. (CDB) and returns data and status to that device.  In some systems that
  37. share devices the SCSI "RESERVE UNIT" command (supported by most disks,
  38. and many other devices) allows one ID (preferably a host adapter) to
  39. request that another ID refuse to service any ID but the one issuing the
  40. command, until either a "RELEASE RESERVATION" command or SCSI bus RESET.
  41. The only other consideration that causes problems is that the host
  42. adapters drivers have to know what to do if they are selected as a
  43. target (peripheral) device.  If they do not have real target functions,
  44. which some  do, then they should not crash the machine selected nor
  45. violate the SCSI protocol getting out of the selection.  This selection
  46. attempt is common, for example Asimware's "SCSI_Inquire", CBMs "HDToolBox",
  47. and almost everyone's boot code scan the bus for devices to use.
  48.  
  49. There are many companies that share SCSI peripheral CDROM, tape, printer,
  50. and scanner devices, using host adapters that permit IDs other than 7.
  51. One of the attractions of the "wide" SCSI-II devices is that there can
  52. be 16 device IDs, if every device is wide.
  53.  
  54. Regards,
  55.  
  56. Dan
  57.  
  58. --
  59. -------------------------------------------------------------------------------
  60. pdtaylor                                  __  __     ____  ___       ___ ____
  61. pdtaylor@primenet.com                    /__)/__) / / / / /_  /\  / /_    /
  62.                                         /   / \  / / / / /__ /  \/ /___  /-------------------------------------------------------------------------------
  63.